package game.johan.angelsdestiny;
/*
Copyright (C) 2013 Johan Ceuppens

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

import game.johan.engine.EngineBase;

import java.io.BufferedInputStream;
import java.io.FileInputStream;

import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.os.Environment;
import android.util.AttributeSet;
import android.view.SurfaceHolder;
import android.graphics.Bitmap;
import android.view.SurfaceView;
import android.content.Context;

/*
 * There's a bridge to the EngineBase instance
 * to provide an example game
 */

public class AngelsDestinyBase extends EngineBase
{
	private int _w,_h;
static	EngineBase _base;//bridged
	
	public AngelsDestinyBase(Context context, AttributeSet attributeset) {
		super(context,attributeset);
		initAppWH(320,200);
		
		/*
		 * You can change this to setToSingleCore();
		 */
		setToMultiCore();
		
		_base = this;
	}
	
	public void initAppWH(int ww, int hh) {
		_w = ww;
		_h = hh;
		setscreenwh(_w,_h);
	}
 }